$('.loginOptionJS').click(function(){
	
	app.OpenLoginOption($(this).html().toString());
});




var app = app || {};

app.OpenLoginOption = function(passedValue){
	
	if(passedValue.indexOf("Facebook") > -1){
		document.location.href= "socialauth?id=facebook";
	}
	
	if(passedValue.indexOf("Google") > -1){
		document.location.href= "socialauth?id=google";
	}
	
	if(passedValue.indexOf("LinkedIn") > -1){
		document.location.href= "socialauth?id=linkedin";
	}
	
};

